package com.woniu.model.mallSystem.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CategoryVo {

    private Long id;

    @ApiModelProperty("品类名")
    private String categoryName;

    @ApiModelProperty("排列顺序")
    private Integer sequence;

    @ApiModelProperty("父品类id")
    private Long parentCategoryId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime;

    private List<CategoryVo> categoryVoList;

    private List<String> subTypes;

    private String description;

}
